//
//  Prefix(MenuViewStyle).m
//  DuTe
//
//  Created by Gikki Ares on 2020/12/9.
//

#import "JsMenuItemStyle.h"

@implementation Prefix(MenuItemStyle)


+ (Prefix(MenuItemStyle) *)defaultStyle {
	Prefix(MenuItemStyle) * style = [Prefix(MenuItemStyle) new];
	style.imageViewFrame = CGRectZero;
	style.cellSize = CGSizeMake(50, 50);
	style.titleFont = [UIFont systemFontOfSize:12];
	
	style.titleColor = [UIColor blackColor];
	style.cellBackgroundColor = [UIColor lightGrayColor];
	return style;
}

+ (JsMenuItemStyle *) lightModeStyle {
	Prefix(MenuItemStyle) * style = [Prefix(MenuItemStyle) new];
	style.imageViewFrame = CGRectZero;
	style.cellSize = CGSizeMake(50, 50);
	style.titleFont = [UIFont systemFontOfSize:12];
	
	style.titleColor = [UIColor blackColor];
	style.cornerRadius = 5;
	style.borderWidth = 1;
	style.cellBackgroundColor = [UIColor lightGrayColor];
	style.isUseDefaultShadow = YES;
	return style;
}

+ (Prefix(MenuItemStyle) *)darkModeStyle {
	Prefix(MenuItemStyle) * style = [Prefix(MenuItemStyle) new];
	style.imageViewFrame = CGRectZero;
	style.cellSize = CGSizeMake(50, 50);
	style.titleFont = [UIFont systemFontOfSize:12];
	style.titleColor = [UIColor whiteColor];
	
	style.cornerRadius = 5;
	style.borderWidth = 1;
	style.borderColor = [UIColor lightGrayColor];
	style.cellBackgroundColor = [UIColor blackColor];
	style.isUseDefaultShadow = YES;
	return style;
}

@end
